﻿using System;
using Calimbra.Runtime.Contracts;

namespace Calimbra.Runtime.Functions
{
    public class Check_output
    {
        public void Input(IMessage message)
        {
            if (message.Port.Name != ".out")
                Continue(message);
            else
                Output(message);

        }

        public event Action<IMessage> Continue;
        public event Action<IMessage> Output;
    }
}